package com.my.hzb.user.quartz;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.framelib.utils.Page;
import com.my.hzb.entiy.UserInfo;
import com.my.hzb.user.service.UserService;

public class UserMessageQuartz {

	@Autowired
	private UserService userService;
	
	public void getMessage(){
		UserInfo user = new UserInfo();
		user.setUserName("hzb");
		List<UserInfo> list = userService.find(user,new Page());
		System.out.println(list.size());
		System.out.println("111111");
	}
}
